<#assign ctx="${rc.contextPath}">
<!DOCTYPE html>
<HTML>
<HEAD>
	<TITLE> ZTREE DEMO - Standard Data </TITLE>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" href="${ctx}/css/zTreeStyle/zTreeStyle.css" type="text/css">
	<script type="text/javascript" src="${ctx}/js/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/jquery.ztree.core-3.5.min.js"></script>
	<style type="text/css">
		body {
			margin-left: 0px;
			margin-top: 0px;
			background-color: #D3E4F7;
			background-image: url(${ctx}/images/left_6.gif);
		}
	</style>
	<SCRIPT type="text/javascript">
		var setting = {
			data: {
				simpleData: {
					enable: true
				}
			}
		};

		var zNodes =[
			{ id:1, pId:0, name:"房源管理", open:true},
			{ id:2, pId:1, name:"楼信息", open:true},
			{ id:3, pId:2, name:"楼信息申请登记", url:"${ctx}/build/gotoloudengji.htm", target:"main"},
			{ id:4, pId:2, name:"查询楼信息", url:"${ctx}/build/gotolouchaxun.htm", target:"main"},
			{ id:5, pId:1, name:"房信息", open:true},
			{ id:6, pId:5, name:"房信息申请登记", url:"${ctx}/build/gotofangdengji.htm", target:"main"},
			{ id:7, pId:5, name:"查询房信息", url:"${ctx}/build/gotofangchaxun.htm", target:"main"},
			{ id:8, pId:0, name:"住房补贴", open:true},
			{ id:9, pId:8, name:"住房补贴申请登记", url:"${ctx}/allowance/gotodengji.htm", target:"main"},
			{ id:10, pId:8, name:"查询住房补贴", url:"${ctx}/allowance/gotobutiechaxun.htm", target:"main"},
			{ id:11, pId:0, name:"购房租房", open:true},
			{ id:12, pId:11, name:"购房信息", open:true},
			{ id:13, pId:12, name:"购房申请登记", url:"${ctx}/buy/gotogoufangdengji.htm", target:"main"},
			{ id:14, pId:12, name:"查询购房信息", url:"${ctx}/buy/gotogoufangchaxun.htm", target:"main"},
			{ id:15, pId:11, name:"租房信息", open:true},
			{ id:16, pId:15, name:"租房申请登记", url:"${ctx}/rent/gotozufangdengji.htm", target:"main"},
			{ id:17, pId:15, name:"查询租房信息", url:"${ctx}/rent/gotozufangchaxun.htm", target:"main"},
			{ id:18, pId:11, name:"退房信息", open:true},
			{ id:19, pId:18, name:"退房申请登记", url:"${ctx}/return/gototuifangdengji.htm", target:"main"},
			{ id:20, pId:18, name:"查询退房信息", url:"${ctx}/return/gototuifangchaxun.htm", target:"main"},
			{ id:21, pId:0, name:"房源管理", open:true},
			{ id:22, pId:21, name:"查询退房信息", url:"${ctx}/nrgl/doc_list.htm", target:"main"},
			{ id:23, pId:0, name:"待审批信息", open:true},
			{ id:24, pId:23, name:"楼信息", url:"${ctx}/build/louquery.htm?dto.check_status=0&pageNo=1&pageSize=30&flag=shenpi", target:"main"},
			{ id:25, pId:23, name:"房信息", url:"${ctx}/build/fangquery.htm?dto.check_status=0&pageNo=1&pageSize=30&flag=shenpi", target:"main"},
			{ id:26, pId:23, name:"购房信息", url:"${ctx}/buy/goufangquery.htm?dto.check_status=0&pageNo=1&pageSize=30&flag=shenpi", target:"main"},
			{ id:27, pId:23, name:"租房信息", url:"${ctx}/rent/zufangquery.htm?dto.check_status=0&pageNo=1&pageSize=30&flag=shenpi", target:"main"},
			{ id:28, pId:23, name:"退房信息", url:"${ctx}/return/tuifangchaxun.htm?dto.check_status=0&pageNo=1&pageSize=30&flag=shenpi", target:"main"},
			{ id:28, pId:23, name:"住房补贴信息", url:"${ctx}/allowance/butiechaxun.htm?dto.check_status=0&pageNo=1&pageSize=30&flag=shenpi", target:"main"}
		];

		$(document).ready(function(){
			$.fn.zTree.init($("#treeDemo"), setting, zNodes);
		});
	</SCRIPT>
</HEAD>

<BODY>
<div class="content_wrap">
	<div class="zTreeDemoBackground left">
		<ul id="treeDemo" class="ztree"></ul>
	</div>
</BODY>
</HTML>